﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Peppers.Win32
{
    /// <summary>
    /// Class for holding information about entries in the hosts file
    /// </summary>
    public sealed class HostFileEntry
    {
        /// <summary>
        /// Gives false if it's a comment or blank line
        /// </summary>
        public bool IsEntry
        {
            get;
            set;
        }

        /// <summary>
        /// Raw (actual) text found in the file
        /// </summary>
        public string RawText
        {
            get;
            set;
        }

        /// <summary>
        /// IP of the entry
        /// </summary>
        public string IP
        {
            get;
            set;
        }

        /// <summary>
        /// Hostname of the entry
        /// </summary>
        public string Hostname
        {
            get;
            set;
        }
    }
}
